Location:
Search - uart h
Search list
Description: 文件描述了2410和2440的区别,因2410和2440的差别很小,所以移植工作量非常小。仅需修改:配置文件config.h、启动文件initcpu.s,uart模块、nand芯片驱动模块,键盘模块key-hard.c。-Document describes the difference between 2410 and 2440, due to the difference between 2410 and 2440 is small, so the workload transfer is very small. Only changes: configuration files config.h, startup files initcpu.s, uart module, nand chip driver module, the keyboard module key-hard.c.
Platform: |
Size: 71680 |
Author: xiangwenpei |
Hits:
Description: This program demonstrates how to configure the C8051F930 to use routines
in STDIO.h to write to and read from the UART interface. The program reads a character using the STDIO routine getkey(), outputs that character
to the screen, and then outputs the ASCII hex value of that character.
-这个程序演示了如何配置C8051F930使用例程
在STDIO。 h写信给,念UART接口。程序读取字符使用STDIO常规getkey()、输出那个字符
对屏幕,然后输出十六进制的价值ASCII字符。
Platform: |
Size: 2048 |
Author: manshuang |
Hits:
Description: 本应用介绍了DBG引脚的使用方法。调试模式下,DBG引脚可用作单线UART通信端口;自由运行模式下,DBG引脚可用作P12/EC0。-/******************************************************************************
F2MC-8FX Family SOFTUNE C Compiler sample startup routine,
ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU LIMITED 2008
LICENSED MATERIAL- PROGRAM PROPERTY OF FUJITSU LIMITED
******************************************************************************/
/******************************************************************************
Name: MAIN.C
Function: By setting start-bit and Check with the conversion flag bit
******************************************************************************/
#include "MB95200.h"
//=====================================================================
//following code created for DBG pin usage test
#define DEBUGMODE
//set DBG pin as P12 output
void gpio_setting(void)
{
DDR1_P12 = 1 /* set P12 as output pin*/
PDR1_P12 = 0 /* pull P12 to low.*/
}
//set DBG pin as EC0 pin
void p12_as_ec0(void)
{
SYSC = 0xE3 // set P12 as EC0 pi
Platform: |
Size: 108544 |
Author: Shijie |
Hits:
Description: This program demonstrates how to configure the C8051F930 to use routinesin STDIO.h to write to and read from the UART interface. The program reads a character using the STDIO routine getkey(), outputs that characterto the screen, and then outputs the ASCII hex value of that character.-这个程序演示了如何配置C8051F930使用例程在STDIO。 h写信给,念UART接口。程序读取字符使用STDIO常规getkey()、输出那个字符对屏幕,然后输出十六进制的价值ASCII字符。
Platform: |
Size: 2048 |
Author: esidentMoha |
Hits:
Description: C51/52 驱动程序功能:
1、12Mhz主频下,初始化4800波特率全双工UART。UART收到字符并对字符排序。
2、一个50ms Tick定时器,通过UART每隔一秒发送一个 T 字符。
3、中断初始化
驱动程序部分包含的:c52_drive.h c52_drive.c C52_data_type_define.h 的根据GPL 开源发布。
所有代码在 STC89C51RC 和 HC6800 V2.6开发板 通过测试验证。-C51/52 driver function: 1,12 Mhz frequency, initialize 4800 baud full duplex UART. UART receive the sort of characters and character. 2, a 50ms Tick timers, UART every second by sending a ' T' character. 3, the driver interrupt initialization section contains: under the GPL open source release c52_drive.h c52_drive.c C52_data_type_define.h' s. All code STC89C51RC and HC6800 V2.6 development board through testing and validation.
Platform: |
Size: 56320 |
Author: lelel |
Hits:
Description: This program demonstrates how to configure the C8051F930 to use routinesin STDIO.h to write to and read from the UART interface. The program reads a character using the STDIO routine getkey(), outputs that characterto the screen, and then outputs the ASCII hex value of that character.-这个程序演示了如何配置C8051F930使用例程在STDIO。 h写信给,念UART接口。程序读取字符使用STDIO常规getkey()、输出那个字符对屏幕,然后输出十六进制的价值ASCII字符。
Platform: |
Size: 2048 |
Author: ononday |
Hits:
Description: mcfuart.h ColdFire internal UART support defines.
-mcfuart.h ColdFire internal UART support defines.
Platform: |
Size: 2048 |
Author: ltjkgang |
Hits:
Description: STM32双极性步进电机驱动的源代码,完整的功能,库文件。
KEIL下运行-Main function:
HAL generic update
Fix flag clear procedure: use atomic write operation = instead of ready-modify-write operation |= or &=
Fix on Timeout management, Timeout value set to 0 passed to API automatically exits the function after checking the flag without any wait
Common update for the following communication peripherals: SPI, UART, USART and IRDA
Add DMA circular mode support
Remove lock recursive process
Add new macro __HAL_RESET_HANDLE_STATE to reset a given handle state
When USE_RTOS == 1 (in stm32l0xx_hal_conf.h), the __HAL_LOCK() is not defined instead of being defined empty
Use “__IO const” instead of “__I”, to avoid any compilation issue when __cplusplus switch is defined
Add new functions for the DBGMCU module
HAL_EnableDBGSleepMode()
HAL_DisableDBGSleepMode()
HAL_EnableDBGStopMode()
HAL_DisableDBGStopMode()
HAL_EnableDBGStandbyMode()
HAL_DisableDBGStandbyMode()
Miscellaneous comments update
Platform: |
Size: 4984832 |
Author: 张海蓝 |
Hits:
Description: NXP LP21xx
SFP Optical Transciever-SFP+Software\armVIC.c
cable.c
debug.c
eeprom.c
iic.c
lpc21xx.h
main.c
recieve.c
tools.c
uart.c
uartISR.c
Platform: |
Size: 1285120 |
Author: 米其林 |
Hits:
Description: mach bfin_serial.h - Blackfin UART Serial definitions.
Platform: |
Size: 6144 |
Author: sutangxd |
Hits:
Description: STC12C5A60S2的工程模板
用于stc的51系列单片机C51
-
Struction description
1.BSP
Board s config header
a).IOconfig.h
define extern component s IO pin
Notice:
a).except MCU s OnChip source pins,like PWM,AD,UART,INT etc!
b).STC12C5A60S2.h
Define MCU register
2.HWlib
MCU s OnChip driver lib
a).Delay
b).EEPROM
c).InternAD
d).PWM
e).SysClkConf
f).Systick,Use Timer0,1ms Period
g).Uart1,9600Bps
h).Uart2,9600Bps
i).PowerManage,PowerDown and Reset
Notice:
a).main.c must include these driver s headers!
3.ECLib
Extern component s driver lib
a).AT24C0x
Platform: |
Size: 160768 |
Author: lee |
Hits:
Description: esp8266创建mqtt任务,连接mqtt云服务器,接收(订阅)和发送(发布)消息
1、本例中用的是官方ESP8266_RTOS_SDK-1.4.x版本的SDK。 2、本例中有smartconfig功能,可通过GPIO或者uart命令触发。 3、可在user_config.h文件中修改mqtt服务器和用户信息。
Platform: |
Size: 2353152 |
Author: Martin |
Hits: